package com.travelmood.mapper;

import com.travelmood.pojo.Image;
import org.apache.ibatis.annotations.*;

import java.util.List;
@Mapper
public interface ImageMapper {


    void insertImage(Image image);


    void updateImage(Image image);


    void deleteImageById(Integer imageId);


    Image findImageById(Integer imageId);


    List<Image> getAllImages();

    List<Image> findImagesByPlaceId(Integer placeId);
}
